<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<script type="text/javascript" src="<%=basePath%>js/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/xadmin.js"></script>
<link rel="stylesheet" href="<%=basePath%>css/font.css">
<link rel="stylesheet" href="<%=basePath%>css/xadmin.css">
<script src="<%=basePath%>lib/layui/layui.js" charset="utf-8"></script>
<script src="<%=basePath%>js/pc/admin/distributionAllocation.js"
	charset="utf-8"></script>

</head>
<body class="layui-anim layui-anim-up">
	<div class="x-nav">
		<span class="layui-breadcrumb"> <a id="aClass">分销配置</a> <a>
				<cite>分销设置</cite>
		</a>
		</span> <a class="layui-btn layui-btn-small"
			style="line-height: 1.6em; margin-top: 3px; float: right"
			onclick="location.reload()" title="刷新"> <i
			class="layui-icon layui-icon-refresh" style="line-height: 35px;"></i></a>
	</div>


	<div class="layui-container">
		<div class="layui-row" style="margin-top: 25px">
			
			<blockquote class="layui-elem-quote" style="color: red">分销商利润 = （商品出售价 - 成本价）* 对应层级分销比例 </blockquote>
			
			<div class="layui-col-md6">
				<form class="layui-form" method="post">
					<div class="layui-form-item">
						<label class="layui-form-label">选择商品:</label>
						<div class="layui-input-block">
							<select id="shop" lay-filter="business" name="cId">
							</select>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">一级返佣：</label>
						<div class="layui-input-block">
							<input name="one" maxlength="5" required lay-verify="required|number|Percentage"
								placeholder="请输入一级返佣比率" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">二级返佣：</label>
						<div class="layui-input-block">
							<input name="two" required maxlength="5" lay-verify="required|number|Percentage"
								placeholder="请输入二级返佣比率" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">三级返佣：</label>
						<div class="layui-input-block">
							<input name="three" required  maxlength="5" lay-verify="required|number|Percentage"
								placeholder="请输入三级级返佣比率" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">
							<button id="buttonClass" class="layui-btn" lay-submit
								lay-filter="formDemo">立即提交</button>
							<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

</body>
</html>